<?php

	require_once(dirname(__FILE__)."/config.php");
	if(empty($do)){
		include DEDEADMIN.'/templets/baidushare.htm';
	} else {
		$filename="../templets/default/baidushare.htm";
		$fp = fopen(dirname(__FILE__).'/'.$filename,'w');
		//fwrite($fp,$b_content);
		fwrite($fp,stripslashes($b_code));
		fclose($fp);
		showmsg("<a href='{$filename}' target=\"_blank\">{$filename} make success</a>",'javascript:;');
	}
?>